/* 
 * File:   CGpioLed.h
 * Author: viking
 *
 * Created on February 2, 2014, 3:21 PM
 */

#ifndef CGPIOLED_H
#define	CGPIOLED_H

class CGpioLed
{
public:
    CGpioLed();
    CGpioLed(const CGpioLed& orig);
    virtual ~CGpioLed();

    void setVisionOkLED(bool isVisionOriented, struct timespec timeStamp);
    
private:
    bool local_initVisionOkLED();
    bool local_setVisionOkLED(bool isVisionOriented);
    
    bool   m_initOK;
    bool   m_enableStateCurrent;
    double m_updateLedIntervalSeconds;
    struct timespec m_timeStamp;

};

#endif	/* CGPIOLED_H */

